package fluo.centralserver;

import java.io.Serializable;
import java.util.ArrayList;

public class ClientInformation implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 6891330468511964128L;

	private ArrayList<String> DesktopServers;
	
	private String pass = "pass";
	private String user = "user";
	
	public ClientInformation(String u, String p) {
		setUser(u);
		setPass(p);
		DesktopServers = new ArrayList<String>();
		
		//DesktopServers.add("127.0.0.1:1234");
	}

	public ArrayList<String> getDesktopServers() {
		return DesktopServers;
	}

	public void setDesktopServers(ArrayList<String> desktopServers) {
		DesktopServers = desktopServers;
	}
	
	public void addDesktop(String s){
		DesktopServers.add(s);
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getUser() {
		return user;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	public String getPass() {
		return pass;
	}
	
	public String toString(){
		return user + ":" + pass;
	}
	
}
